#include "productDict.h"
#include "inicpp.hpp"

#include <iostream>
#include <fstream>
#include <sstream>
using std::cout;
using std::ifstream;
using std::stringstream;
int main()
{
    inicpp::IniManager _ini("../config.ini");

    string cnfilePath = _ini["rtsp"]["srcChineseFile"];
    string enfilePath = _ini["rtsp"]["srcEnglishFile"];
 
    SplitTool * splitTool = SplitTool::getInstance();
    DictProducer cnDictPro(cnfilePath, splitTool);
    cnDictPro.buildCnDict();

    DictProducer enDictPro(enfilePath, splitTool);
    enDictPro.buildEnDict();

    

    
    
}